package model

import "react-blog-server/common/timex"

type DataSource struct {
	ID        int64      `gorm:"primary_key;not_null;auto_increment" json:"id"`
	IDC       string     `gorm:"type:varchar(50);not null" json:"idc"`
	Name      string     `json:"name"`
	CreatedAt timex.Time `gorm:"comment:'创建时间'" json:"createAt"`
	UpdatedAt timex.Time `gorm:"comment:'修改时间'" json:"updatedAt"`
}
